package com.xjx.service;

import com.xjx.pojo.PageInfo;
import com.xjx.pojo.User;

import java.util.List;

public interface UserService {
    public List<User> findAll();
    public User login(String userCode,String userPassword);
    public PageInfo<User> findByPage(int currentPage,int size,String userName, String userCode, String startDate, String endDate);

    int save(User user);
    User findById(Integer id);
    int modify(User user);
    int delete(Integer id);
}
